package com.github.wxiaoqi.security.psi.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 物资信息
 * 
 * @author lcc
 * @email 
 * @date 2019-01-22 16:39:34
 */
@Table(name = "psi_material")
public class Material implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    /**
     * 物资编号
     */
    @Id
    private Integer id;
	
	    /**
     * 物资名称
     */
    @Column(name = "commodity")
    private String commodity;
	
	    /**
     * 物资单价
     */
    @Column(name = "unit_price")
    private Double unitPrice;
	
	    /**
     * 物资数量
     */
    @Column(name = "quantity")
    private Integer quantity;
	
	    /**
     * 物资金额
     */
    @Column(name = "material_amount")
    private Double materialAmount;
	

	/**
	 * 设置：物资编号
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：物资编号
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：物资名称
	 */
	public void setCommodity(String commodity) {
		this.commodity = commodity;
	}
	/**
	 * 获取：物资名称
	 */
	public String getCommodity() {
		return commodity;
	}
	/**
	 * 设置：物资单价
	 */
	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}
	/**
	 * 获取：物资单价
	 */
	public Double getUnitPrice() {
		return unitPrice;
	}
	/**
	 * 设置：物资数量
	 */
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	/**
	 * 获取：物资数量
	 */
	public Integer getQuantity() {
		return quantity;
	}
	/**
	 * 设置：物资金额
	 */
	public void setMaterialAmount(Double materialAmount) {
		this.materialAmount = materialAmount;
	}
	/**
	 * 获取：物资金额
	 */
	public Double getMaterialAmount() {
		return materialAmount;
	}
}
